<template>
	<view class="contact">
		<image class="img" src="http://p1.itc.cn/images01/20201231/aa7010f7161e48bc9dc859475f777582.jpeg"></image>
		<view class="info">
			<view @click="phone">联系电话  19857183559</view>
			<view>地址：浙江省杭州市临安区锦城街道浙江农林大学东湖校区</view>
		</view>
		<map class="map" :scale="scale" :longitude="longitude" :latitude="latitude" :markers="markers"></map>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				longitude:119.735743,
				latitude:30.240673,
				scale:15,
				markers:[
					{
						longitude:119.735743,
						latitude:30.240673,
						iconPath:'../../static/dingwei.png',
						width:30,
						height:30
					}
				]
			}
		},
		methods: {
			phone(){
				uni.makePhoneCall({
					phoneNumber:'19857183559'
				})
			}
		}
	}
</script>

<style lang="scss">
	.contact{
		.img{
			width:750rpx;
			height: 320rpx;
		}
	}
	.info{
		padding:10rpx 20rpx;
		font-size: 30rpx;
		view{
			line-height:60rpx;
			border-bottom:1px solid #eee;
		}
	}
	.map{
		width: 750rpx;
		height: 750rpx;
	}

</style>
